package test2;


public class Eagle extends Bird 
{
   
   /**
    * @roseuid 658035AF00CD
    */
   public Eagle() 
   {
      theFlyBehavior = new FreeFly();
      theSwimBehavior = new UnableSwim();
   }
   
   /**
    * @roseuid 658035B403BA
    */
   public void display() 
   {
      System.out.println("Eagle:");
      theFlyBehavior.fly();
      theSwimBehavior.swim();
   }
}
